package stu.wingsmaker.art.subway;

import android.app.Activity;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.os.Bundle;
import android.view.Menu;


public class MainActivity extends Activity {
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		int a;
		Resources res = getResources();
		BitmapDrawable bd = (BitmapDrawable)res.getDrawable(R.drawable.subway);
		Bitmap bit = bd.getBitmap();
		
//		MoveObject mo = new MoveObject(this);
//		setContentView(mo);
		
		setContentView(R.layout.activity_main);
		
		MoveObject mo = (MoveObject)findViewById(R.id.maps);
		mo.setSelectedImage(bit);

	}
	
	
	// njikjjjlk
	
	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.main, menu);
		return true;
	}

}
